package com.learn1;

import org.springframework.stereotype.Service;

@Service    // 表述该Bean 是Spring 管理的Bean
public class FunctionService {
    public String sayHello(String word) {
        return "Hello " + word + " !";
    }
}
